Skip to main content

formatDateTime

formatDateTime

formatDateTime(epochMillis: number , format: string , useSystemCalendar?: boolean , options?: any ) : any

Get the formatted date based on the format tokens

Function Parameters

epochMillis:::

  • epochMillis: number

format:::

  • format: string

useSystemCalendar::: Optional

  • useSystemCalendar: boolean

options::: Optional

  • options: any

Returns

any

Defined in : link:https://github.com/thoughtspot/ts-chart-sdk/blob/f477c20/src/utils/date-formatting.ts#L426

--